package org.shop.dao;

import java.util.List;

import org.shop.dao.base.BaseDaoMapper;
import org.shop.entity.School;

public interface SchoolMapper extends BaseDaoMapper<School, Long>{
	
	/**
	 * 获取所有学校
	 * @return
	 */
	public List<School> getSchoolList();
	/**
	 * 通过学校标识判断学校是否存在
	 * @param schoolCode
	 * @return
	 */
	public School getSchoolBySchoolCode(String schoolName);
    
}